<?php
namespace event;
use app\service\RedisQueueService;
use const support\SEND_SMS_QUEUE;

class Sms{

    function sendCode(array $sendData): bool
    {
        RedisQueueService::publish(SEND_SMS_QUEUE,$sendData);
        return true;
    }

}